package com.zb.jsp.utils;

public class GetExtension {

	public static String getExtension(String fileName) {
		int pos = fileName.lastIndexOf(".");
		
		return fileName.substring(pos);
	}
}
